/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.chen.weather;

/**
 *
 * @author scorpius
 */
public class City {

    private Double _id;
    private Double id;
    private Double pid;
    private String cityCode;
    private String cityName;

    public City(Double _id, Double id, Double pid, String cityCode, String cityName) {
        this._id = _id;
        this.id = id;
        this.pid = pid;
        this.cityCode = cityCode;
        this.cityName = cityName;
    }

    public Double get_Id() {
        return _id;
    }

    public void set_Id(Double _id) {
        this._id = _id;
    }

    public Double getId() {
        return id;
    }

    public void setId(Double id) {
        this.id = id;
    }

    public Double getPid() {
        return pid;
    }

    public void setPid(Double pid) {
        this.pid = pid;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    @Override
    public String toString() {
        return "City{" + "_id=" + _id + ", id=" + id + ", pid=" + pid + ", cityCode=" + cityCode + ", cityName=" + cityName + '}';
    }
}
